import axios from "./api";
//
export const wxUserPage = params => {
  return axios.post("/v1/wxUser/pageQuery", params).then(res => res.data);
};
export const wxUserGet = params => {
  return axios.get(`/v1/wxUser/get/${params}`).then(res => res.data);
};
export const wxUserUpdate = params => {
  return axios.put(`/v1/wxUser/update`, params).then(res => res.data);
};
export const wxUserSave = params => {
  return axios.post(`/v1/wxUser/save`, params).then(res => res.data);
};
export const wxUserDelete = params => {
  return axios.delete(`/v1/wxUser/delete/${params}`).then(res => res.data);
};
